<template>
    <div> 
       <h2>我是子组件</h2> 
        <hr>    
        <sun v-bind="$attrs" v-on="$listeners"></sun>

    </div>
</template>

<script>
import sun from "./sun.vue"
export default {
    components:{
        sun
    }
   
};
</script>

